package com.jeff.tianti.cms.dao;

import com.jeff.tianti.cms.entity.TalentPool;
import com.jeff.tianti.common.dao.CommonDao;
import org.springframework.data.jpa.repository.Query;

/**
 * @author xujianfang
 * @desc TalentPoolDao�ӿ� 
 * @date 2019-07-09
 */
public interface TalentPoolDao extends TalentPoolDaoCustom,CommonDao<TalentPool,String>{

    @Query(" from TalentPool a where sort = (select max(sort) from TalentPool)")
    TalentPool findMaxSort();
}